/***Generate by EveIDE_LIGHT at 2021-08-21 15:35:59***/
/****************V0.0.2******************/
.text
main:
    li t0, 600      #t0 as base address
    li t1, 123      #t1 as data
    sb t1, 2(t0)
    lb t2, 2(t0)
Loop:
    blt t2, x0, End
    addi t2, t2, -3 #caculate REM(t2/3)
    addi t3, t3, 1
    j Loop
End:
    beq x0, x0, End